/*
 * @Author: TuYongTao
 * @Date: 2021-10-29 12:28:46
 * @LastEditors: your Name
 * @LastEditTime: 2021-10-29 12:37:48
 * @Description: 
 */
function ObserveList(params) {
  this.observeList = []
}

ObserveList.prototype.Add = function (obj) {
  return this.observeList.push(obj)
}
ObserveList.prototype.Empty = function () {
  this.observeList = []
}
ObserveList.prototype.Count = function () {
  return this.observeList.length
}

ObserveList.prototype.Get = function (index) {
  if(index > -1 && index < this.observeList.length) {
    return this.observeList[index]
  }
}
